package com.mimosa.common.system.role;

import javax.persistence.Entity;
import javax.persistence.Table;

import com.mimosa.common.entity.BaseEntity;

@Entity
@Table(name = "T_USER_ROLE")
public class TUserRole extends BaseEntity {

	private String userId; // 用户主键id（32）
	private String roleId; // 角色主键id（32）

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getRoleId() {
		return roleId;
	}

	public void setRoleId(String roleId) {
		this.roleId = roleId;
	}

	public TUserRole() {
	}

	public TUserRole(String userId, String roleId) {
		this.userId = userId;
		this.roleId = roleId;
	}
}
